package cn.dzhang.mybatis.repository;

import java.text.MessageFormat;

import cn.dzhang.mybatis.model.Article;

public interface ArticleOperation
{
	public static final String NS = Article.class.getName();

	public static final String findById = MessageFormat.format("{0}.{1}", NS,
	        "findById");

	public static final String save = MessageFormat.format("{0}.{1}", NS,
	        "save");

	public static final String update = MessageFormat.format("{0}.{1}", NS,
	        "update");

	public static final String deleteById = MessageFormat.format("{0}.{1}", NS,
	        "deleteById");

	public static final String findByUser = MessageFormat.format("{0}.{1}", NS,
	        "findByUser");

}
